From: Roan Kattouw Date: Thu, 7 Oct 2010 17:48:46 +0000 (+0000) Subject: Remove $wgUseDataURLs as promised by the comment in DefaultSettings.php . Data URL... X-Git-Tag: 1.31.0-rc.0~34592 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=acb2d77b4c761b35e8cdd12cafa4968ba0f0daf7;p=lhc%2Fweb%2Fwiklou.git Remove $wgUseDataURLs as promised by the comment in DefaultSettings.php . Data URL embedding is now always used. --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index b03674545b..f6fa83633e 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1681,12 +1681,6 @@ $wgResourceLoaderDebug = false; */ $wgResourceLoaderUseESI = false; -/** - * Enable data URL embedding (experimental). This variable is very temporary and - * will be removed once we get this feature stable. - */ -$wgUseDataURLs = false; - /** @} */ # end of cache settings /************************************************************************//** diff --git a/includes/ResourceLoaderModule.php b/includes/ResourceLoaderModule.php index 22ab72727a..bda0795ad7 100644 --- a/includes/ResourceLoaderModule.php +++ b/includes/ResourceLoaderModule.php @@ -728,12 +728,12 @@ class ResourceLoaderFileModule extends ResourceLoaderModule { * @return string Remapped CSS */ protected static function remapStyle( $file ) { - global $wgUseDataURLs, $wgScriptPath; + global $wgScriptPath; return CSSMin::remap( file_get_contents( self::remapFilename( $file ) ), dirname( $file ), $wgScriptPath . '/' . dirname( $file ), - $wgUseDataURLs + true ); } }